package practice01;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice01
 * @ClassName: UseCompute
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/11 18:31
 * @Copyright 大牛版板所有
 */
public class UseCompute {

    public void useCom(ICalculator calc, int one, int two){
        int result = calc.calculate(one,two);
        System.out.println("运算的结果为："+result);
    }
}
